package com.westos.todo.entity;

import org.springframework.beans.factory.FactoryBean;

public class TodoFactoryBean implements FactoryBean<Todo>{

	@Override
	public Todo getObject() throws Exception {
		
		return new Todo();
	}

	@Override
	public Class<?> getObjectType() {
		
		return Todo.class;
	}

	@Override
	public boolean isSingleton() {
		
		return true;
	}

}
